package api.person;

import java.io.Serializable;
import java.util.Set;

/**
 * @author Ann Raboschuk
 *
 */
public interface IPerson extends Comparable<IPerson>, Serializable
{
   /* Get methods. */
   Long getId();
   String getSurname();
   String getName();
   Integer getAge();
   Character getSex();
   String getEmail();
   Set<IPhone> getPhone();
   Set<IAddress> getAddress();

   /* Set methods. */
   void setId(Long id);
   void setSurname(String surname);
   void setName(String name);
   void setAge(Integer age);
   void setSex(Character sex);
   void setEmail(String email);
   void setPhone(Set<IPhone> phone);
   void setAddress(Set<IAddress> address);
}
